<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE html>
<html>
<script src="http://how2j.cn/study/js/jquery/2.0.0/jquery.min.js"></script>
<link href="http://how2j.cn/study/css/bootstrap/3.3.6/bootstrap.min.css" rel="stylesheet">
<script src="http://how2j.cn/study/js/bootstrap/3.3.6/bootstrap.min.js"></script>
  <head>
    <base href="<%=basePath%>">
    
    <title>课程信息查看</title>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	
	
  </head>
  <body>
  <p>首页->管理员专页->老师信息查看</p>
  <form method="post">
		<div>
			<table class="table table-bordered">
					<tr>
						<th width="56">老师工号</th>
						<th width="60">老师姓名</th>
						<th width="56">所属学院</th>
						<th width="56">系统登录密码</th>
						<th>操作</th>
					</tr>
					<!--老师信息填充处-->
					<s:iterator value="#session.teachers"> 
						<tr>
							<td><s:property value="teanum"/></td>
							<td><s:property value="teaname"/></td>
							<td><s:property value="clgnum"/></td>
							<td><s:property value="teapad"/></td>
							<td><a href="<s:url action="teacherdelete">
											<s:param name="teacher.teanum"><s:property value="teanum"/></s:param> 
										</s:url>">删除</a>
								<a href="<s:url action="turntoupdateteacher">
											<s:param name="teacher.teanum"><s:property value="teanum"/></s:param> 
										</s:url>">修改</a>
								<a href="<s:url action="turntotea_objmanager">
											<s:param name="teacher.teanum"><s:property value="teanum"/></s:param> 
										</s:url>">管理教师课程</a>
										</td>
						</tr>
					</s:iterator>
					</table>
					<a href="<s:url action="turntoteacheraddpage"/>">添加教师信息</a>
					</div>
					</form>
			</body>
</html>
